package com.tanger.common.vo;

import java.io.Serializable;
import java.util.List;

/**
 * @Description TODO
 * @Author Hchenbin
 * @Date 2023/7/5 12:12
 * @Version 1.0
 */
public class RecursiveVo implements Serializable{

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private Long pId;
    private List<RecursiveVo> childs;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public List<RecursiveVo> getChilds() {
        return childs;
    }

    public void setChilds(List<RecursiveVo> childs) {
        this.childs = childs;
    }

    public RecursiveVo() {
    }

    public RecursiveVo(Long id, String name, Long pId) {
        this.id = id;
        this.name = name;
        this.pId = pId;
    }
}
